<!DOCTYPE html>
<html>
<head>
    <title>Demo2</title>
    <script src="build/react.js"></script>
    <script src="build/react-dom.js"></script>
    <script src="build/browser.min.js"></script>
</head>
<body>
<div id="example"></div>
    <script type="text/babel">
        var names = ['Alice','Emily', 'Kate'];
        ReactDOM.render(
            <div>
                {
                    names.map(function (name){
                        return <h1>Hello, {name}</h1>
                    })
                }
            </div>,
            document.getElementById('example')
        );
    </script>
</body>
</html>